function bian(){
    document.getElementsByTagName("html")[0].style.fontSize=window.innerWidth*0.0078125+'px';
}
window.onload=bian;
window.onresize=bian;


var boxnew=document.getElementById('boxnew');
var con1=document.getElementById('con1');
var con2=document.getElementById('con2');
con2.innerHTML=con1.innerHTML;
function ScrollUp(){
    if(boxnew.scrollTop>=con1.scrollHeight){
        boxnew.scrollTop=0;
    }else{
        boxnew.scrollTop++
    }
}
var i=setInterval(ScrollUp,10);
con1.onmouseover=function(){
    Stop()
}
con1.onmouseout=function(){
    Up()
}
function Stop(){
    clearInterval(i)
}
function Up(){
    i=setInterval(ScrollUp,10);
}